<template>

      <a-col :span="24">
        <div class="card-title">{{diseaseCode}}-1 患者入院病情评估</div>
        <div class="card-page">到达急诊室,完成ABCD2/3/3-I风险评分与分层：</div>
      </a-col>
        <a-col :span="span23.includes(disease.submitName)?24:12" v-for="disease in main1List">
          <div  v-if="disease.submitName=='TIA-1-2-1-1'"  class="card-page">临床系统检查及评估：</div>
          <div  v-if="disease.submitName=='Cap-Adult-1-2-1'" class="card-page">符合重症肺炎诊断标准：</div>

          <a-form-item v-if="disease.useType=='radio'&&disease.rootName=='root'&&(disease.parentName == null ||form1[disease.parentName]==disease.parentValue)" :label="disease.title" :name="disease.submitName">
            <a-radio-group v-model:value="disease.defaltValue">
              <a-radio
                  v-for="dict in disease.dictList"
                  :key="dict.dictCode"
                  :value="dict.dictCode"
                  @change="changeRadio($event,disease.submitName)"
              >
                {{ dict.dictName }}
              </a-radio>
            </a-radio-group>
          </a-form-item>
          <a-form-item v-if="disease.useType=='select'&&disease.rootName=='root'&&(disease.parentName == null ||form1[disease.parentName]==disease.parentValue)" :label="disease.title" :name="disease.submitName">
            <a-select
                v-model:value="disease.defaltValue"
                placeholder="请选择属性类型" allow-clear
                @change="changeSelect($event,disease.submitName)"

            >
              <a-select-option
                  v-for="dict in disease.dictList"
                  :key="dict.dictCode"
                  :value="dict.dictCode"

              >
                {{ dict.dictName }}
              </a-select-option>
            </a-select>

          </a-form-item>
          <a-form-item v-if="disease.useType=='date'&&disease.rootName=='root'&&(disease.parentName == null ||form1[disease.parentName]==disease.parentValue)" :label="disease.title" :name="disease.submitName">
            <a-date-picker  v-model:value="disease.defaltValue"
                            :format="disease.rule"
                            :valueFormat="disease.rule"
                            @change="dateInput($event,disease.submitName)"
                            :show-time="disease.rule.length>10 "
                            style="width: 100%;"
            />
          </a-form-item>
          <a-form-item v-if="disease.useType=='checkbox'&&disease.rootName=='root'
            &&(disease.parentName == null ||form1[disease.parentName]!=null&&form1[disease.parentName].includes(disease.parentValue))" :label="disease.title" :name="disease.submitName">
            <a-checkbox-group v-model:value="disease.defaultValue"   @change="checkSave($event,disease.submitName)"  >
              <a-checkbox :value="dict.dictCode" :name="disease.submitName"
                          v-for="dict in disease.dictList"
                          :key="dict.dictCode">{{
                  dict.dictName
                }}</a-checkbox>
            </a-checkbox-group>
          </a-form-item>
          <div v-for="code in ['TIA-1-1-3','TIA-1-2-1-1','TIA-1-2-5-1','TIA-1-2-6-1']">
            <a-col span="24" v-if="form1[code]=='y'">
              <a-form-item v-if="disease.useType=='select'&&disease.rootName==code&&(disease.parentName == null ||form1[disease.parentName]==disease.parentValue)" :label="disease.title" :name="disease.submitName">
                <a-select
                    v-model:value="disease.defaltValue"
                    placeholder="请选择属性类型" allow-clear
                    @change="changeSelect($event,disease.submitName)"

                >
                  <a-select-option
                      v-for="dict in disease.dictList"
                      :key="dict.dictCode"
                      :value="dict.dictCode"

                  >
                    {{ dict.dictName }}
                  </a-select-option>
                </a-select>

              </a-form-item>
              <a-form-item v-if="disease.useType=='radio'&&disease.rootName==code&&(disease.parentName == null ||form1[disease.parentName]==disease.parentValue)" :label="disease.title" :name="disease.submitName">
                <a-radio-group v-model:value="disease.defaltValue">
                  <a-radio
                      v-for="dict in disease.dictList"
                      :key="dict.dictCode"
                      :value="dict.dictCode"
                      @change="changeRadio($event,disease.submitName)"
                  >
                    {{ dict.dictName }}
                  </a-radio>
                </a-radio-group>
              </a-form-item>
              <a-form-item v-if="disease.useType=='checkbox'&&disease.rootName==code
            &&(disease.parentName == null ||form1[disease.parentName]!=null&&form1[disease.parentName].includes(disease.parentValue))" :label="disease.title" :name="disease.submitName">
                <a-checkbox-group v-model:value="disease.defaultValue"   @change="checkSave($event,disease.submitName)"  >
                  <a-checkbox :value="dict.dictCode" :name="disease.submitName"
                              v-for="dict in disease.dictList"
                              :key="dict.dictCode">{{
                      dict.dictName
                    }}</a-checkbox>
                </a-checkbox-group>
              </a-form-item>
              <a-form-item v-if="disease.useType=='number'&&disease.rootName==code&&(disease.parentName == null ||form1[disease.parentName]!=null&&form1[disease.parentName].includes(disease.parentValue))" :label="disease.title" :name="disease.submitName">
                <a-input-number  v-model:value="disease.defaltValue"  @change="numberInput($event,disease.submitName)"  allow-clear  style="width: 100%;"/>
              </a-form-item>
              <a-form-item v-if="disease.useType=='date'&&disease.rootName==code&&(disease.parentName == null ||form1[disease.parentName]==disease.parentValue)" :label="disease.title" :name="disease.submitName">
                <a-date-picker  v-model:value="disease.defaltValue"
                                :format="disease.rule"
                                :valueFormat="disease.rule"
                                @change="dateInput($event,disease.submitName)"
                                :show-time="disease.rule.length>10 "
                                style="width: 100%;"
                />
              </a-form-item>
              <a-form-item v-if="disease.useType=='input'&&disease.rootName==code&&(disease.parentName == null ||form1[disease.parentName]!=null&&form1[disease.parentName].includes(disease.parentValue))" :label="disease.title" :name="disease.submitName">
                <a-input  v-model:value="disease.defaltValue"  @change="changeinput($event,disease.submitName)" allow-clear  />
              </a-form-item>
            </a-col>
          </div>

        </a-col>


      <a-col :span="24">
        <div class="card-title">{{diseaseCode}}-2 房颤患者的抗凝治疗</div>
        <div class="card-page">房颤患者：</div>
      </a-col>
  <a-col :span="span23.includes(disease.submitName)?24:12" v-for="disease in main2List">
    <a-form-item v-if="disease.useType=='select'&&disease.rootName=='root'&&(disease.parentName == null ||form1[disease.parentName]==disease.parentValue)" :label="disease.title" :name="disease.submitName">
      <a-select
          v-model:value="disease.defaltValue"
          placeholder="请选择属性类型" allow-clear
          @change="changeSelect($event,disease.submitName)"

      >
        <a-select-option
            v-for="dict in disease.dictList"
            :key="dict.dictCode"
            :value="dict.dictCode"

        >
          {{ dict.dictName }}
        </a-select-option>
      </a-select>

    </a-form-item>

    <a-form-item v-if="disease.useType=='radio'&&disease.rootName=='root'&&(disease.parentName == null ||form1[disease.parentName]==disease.parentValue)" :label="disease.title" :name="disease.submitName">
      <a-radio-group v-model:value="disease.defaltValue">
        <a-radio
            v-for="dict in disease.dictList"
            :key="dict.dictCode"
            :value="dict.dictCode"
            @change="changeRadio($event,disease.submitName)"
        >
          {{ dict.dictName }}
        </a-radio>
      </a-radio-group>
    </a-form-item>

     <div v-for="code in ['TIA-2-1-1-1']">

      <a-col span="24" v-if="form1[code]=='a'||form1[code]=='b'">
        <div  v-if="disease.submitName=='TIA-2-1-1'"  class="card-page">实施房颤患者脑卒中风险评估（CHA2DS2-VASc评分）：</div>
        <div  v-if="disease.submitName=='TIA-2-5-1'"  class="card-page">房颤鉴别STAF评分：</div>
        <div  v-if="disease.submitName=='TIA-2-6-1'"  class="card-page">房颤抗凝出血风险评估HAS-BLED评分：</div>
        <div  v-if="disease.submitName=='TIA-2-3-1'"  class="card-page">使用抗凝药物的禁忌证：</div>
        <div  v-if="disease.submitName=='TIA-2-4-1'"  class="card-page">常用抗凝药物的选择：</div>
        <a-form-item v-if="disease.useType=='select'&&disease.rootName==code&&(disease.parentName == null ||form1[disease.parentName]==disease.parentValue)" :label="disease.title" :name="disease.submitName">
          <a-select
              v-model:value="disease.defaltValue"
              placeholder="请选择属性类型" allow-clear
              @change="changeSelect($event,disease.submitName)"

          >
            <a-select-option
                v-for="dict in disease.dictList"
                :key="dict.dictCode"
                :value="dict.dictCode"

            >
              {{ dict.dictName }}
            </a-select-option>
          </a-select>

        </a-form-item>
        <a-form-item v-if="disease.useType=='radio'&&disease.rootName==code&&(disease.parentName == null ||form1[disease.parentName]==disease.parentValue)" :label="disease.title" :name="disease.submitName">
          <a-radio-group v-model:value="disease.defaltValue">
            <a-radio
                v-for="dict in disease.dictList"
                :key="dict.dictCode"
                :value="dict.dictCode"
                @change="changeRadio($event,disease.submitName)"
            >
              {{ dict.dictName }}
            </a-radio>
          </a-radio-group>
        </a-form-item>
        <a-form-item v-if="disease.useType=='checkbox'&&disease.rootName==code
            &&(disease.parentName == null ||form1[disease.parentName]!=null&&form1[disease.parentName].includes(disease.parentValue))" :label="disease.title" :name="disease.submitName">
          <a-checkbox-group v-model:value="disease.defaultValue"   @change="checkSave($event,disease.submitName)"  >
            <a-checkbox :value="dict.dictCode" :name="disease.submitName"
                        v-for="dict in disease.dictList"
                        :key="dict.dictCode">{{
                dict.dictName
              }}</a-checkbox>
          </a-checkbox-group>
        </a-form-item>
        <a-form-item v-if="disease.useType=='number'&&disease.rootName==code&&(disease.parentName == null ||form1[disease.parentName]!=null&&form1[disease.parentName].includes(disease.parentValue))" :label="disease.title" :name="disease.submitName">
          <a-input-number  v-model:value="disease.defaltValue"  @change="numberInput($event,disease.submitName)"  allow-clear  style="width: 100%;"/>
        </a-form-item>
        <a-form-item v-if="disease.useType=='input'&&disease.rootName==code&&(disease.parentName == null ||form1[disease.parentName]!=null&&form1[disease.parentName].includes(disease.parentValue))" :label="disease.title" :name="disease.submitName">
          <a-input  v-model:value="disease.defaltValue"  @change="changeinput($event,disease.submitName)" allow-clear  />
        </a-form-item>
        <a-form-item v-if="disease.useType=='date'&&disease.rootName==code&&(disease.parentName == null ||form1[disease.parentName]==disease.parentValue)" :label="disease.title" :name="disease.submitName">
          <a-date-picker  v-model:value="disease.defaltValue"
                          :format="disease.rule"
                          :valueFormat="disease.rule"
                          @change="dateInput($event,disease.submitName)"
                          :show-time="disease.rule.length>10 "
                          style="width: 100%;"
          />
        </a-form-item>

      </a-col>
    </div>

  </a-col>
   <a-col   :span="24">
      <div class="card-title">{{diseaseCode}}-3 治疗前病原学诊断情况</div>
  </a-col>
  <a-col :span="span23.includes(disease.submitName)?24:12" v-for="disease in main3List">
    <div  v-if="disease.submitName=='TIA-3-1-1-1'" class="card-page">具有高卒中复发风险因素：</div>
    <div  v-if="disease.submitName=='TIA-3-1-1'" class="card-page">使用双联抗血小板药物禁忌证：</div>
    <div  v-if="disease.submitName=='TIA-3-2-1'" class="card-page">入院后首剂双联抗血小板药物给予时间：</div>
    <div  v-if="disease.submitName=='TIA-3-3-2'" class="card-page">双联抗血小板药物：</div>
    <a-form-item v-if="disease.useType=='select'&&disease.rootName=='root'&&(disease.parentName == null ||form1[disease.parentName]==disease.parentValue)" :label="disease.title" :name="disease.submitName">
      <a-select
          v-model:value="disease.defaltValue"
          placeholder="请选择属性类型" allow-clear
          @change="changeSelect($event,disease.submitName)"

      >
        <a-select-option
            v-for="dict in disease.dictList"
            :key="dict.dictCode"
            :value="dict.dictCode"

        >
          {{ dict.dictName }}
        </a-select-option>
      </a-select>

    </a-form-item>
    <a-form-item v-if="disease.useType=='input'&&disease.rootName=='root'&&(disease.parentName == null ||form1[disease.parentName]!=null&&form1[disease.parentName].includes(disease.parentValue))" :label="disease.title" :name="disease.submitName">
      <a-input  v-model:value="disease.defaltValue"  @change="changeinput($event,disease.submitName)" allow-clear  />
    </a-form-item>
    <a-form-item v-if="disease.useType=='radio'&&disease.rootName=='root'&&(disease.parentName == null ||form1[disease.parentName]==disease.parentValue)" :label="disease.title" :name="disease.submitName">
      <a-radio-group v-model:value="disease.defaltValue">
        <a-radio
            v-for="dict in disease.dictList"
            :key="dict.dictCode"
            :value="dict.dictCode"
            @change="changeRadio($event,disease.submitName)"
        >
          {{ dict.dictName }}
        </a-radio>
      </a-radio-group>
    </a-form-item>
    <a-form-item v-if="disease.useType=='date'&&disease.rootName=='root'&&(disease.parentName == null ||form1[disease.parentName]==disease.parentValue)" :label="disease.title" :name="disease.submitName">
      <a-date-picker  v-model:value="disease.defaltValue"
                      :format="disease.rule"
                      :valueFormat="disease.rule"
                      @change="dateInput($event,disease.submitName)"
                      :show-time="disease.rule.length>10 "
                      style="width: 100%;"
      />
    </a-form-item>

  </a-col>
  <a-col :span="24">
    <div class="card-title">{{diseaseCode}}-4 评价血脂水平</div>
    <div class="card-page">入院后首次血脂水平评估时间：
    </div>
  </a-col>
  <a-col :span="span23.includes(disease.submitName)?24:12" v-for="disease in main4List">
    <a-form-item v-if="disease.useType=='radio'&&disease.rootName=='root'&&(disease.parentName == null ||form1[disease.parentName]==disease.parentValue)" :label="disease.title" :name="disease.submitName">
      <a-radio-group v-model:value="disease.defaltValue">
        <a-radio
            v-for="dict in disease.dictList"
            :key="dict.dictCode"
            :value="dict.dictCode"
            @change="changeRadio($event,disease.submitName)"
        >
          {{ dict.dictName }}
        </a-radio>
      </a-radio-group>
    </a-form-item>
    <a-form-item v-if="disease.useType=='select'&&disease.rootName=='root'&&(disease.parentName == null ||form1[disease.parentName]==disease.parentValue)" :label="disease.title" :name="disease.submitName">
      <a-select
          v-model:value="disease.defaltValue"
          placeholder="请选择属性类型" allow-clear
          @change="changeSelect($event,disease.submitName)"

      >
        <a-select-option
            v-for="dict in disease.dictList"
            :key="dict.dictCode"
            :value="dict.dictCode"

        >
          {{ dict.dictName }}
        </a-select-option>
      </a-select>

    </a-form-item>
    <a-form-item v-if="disease.useType=='date'&&disease.rootName=='root'&&(disease.parentName == null ||form1[disease.parentName]==disease.parentValue)" :label="disease.title" :name="disease.submitName">
      <a-date-picker  v-model:value="disease.defaltValue"
                      :format="disease.rule"
                      :valueFormat="disease.rule"
                      @change="dateInput($event,disease.submitName)"
                      :show-time="disease.rule.length>10 "
                      style="width: 100%;"
      />
    </a-form-item>
    <a-form-item v-if="disease.useType=='checkbox'&&disease.rootName=='root'
            &&(disease.parentName == null ||form1[disease.parentName]!=null&&form1[disease.parentName].includes(disease.parentValue))" :label="disease.title" :name="disease.submitName">
      <a-checkbox-group v-model:value="disease.defaultValue"   @change="checkSave($event,disease.submitName)"  >
        <a-checkbox :value="dict.dictCode" :name="disease.submitName"
                    v-for="dict in disease.dictList"
                    :key="dict.dictCode">{{
            dict.dictName
          }}</a-checkbox>
      </a-checkbox-group>
    </a-form-item>

  </a-col>
  <a-col v-if="form1['CM-4-3']!=='e'" :span="24">
    <div class="card-title">{{diseaseCode}}-5  出院时药物使用情况 </div>
    <a-col :span="24" v-for="disease in main5List">
      <a-form-item v-if="disease.useType=='select'&&disease.rootName=='root'&&(disease.parentName == null ||form1[disease.parentName]==disease.parentValue)" :label="disease.title" :name="disease.submitName">
        <a-select
            v-model:value="disease.defaltValue"
            placeholder="请选择属性类型" allow-clear
            @change="changeSelect($event,disease.submitName)"

        >
          <a-select-option
              v-for="dict in disease.dictList"
              :key="dict.dictCode"
              :value="dict.dictCode"

          >
            {{ dict.dictName }}
          </a-select-option>
        </a-select>

      </a-form-item>
      <a-form-item v-if="disease.useType=='input'&&disease.rootName=='root'&&(disease.parentName == null ||form1[disease.parentName]!=null&&form1[disease.parentName].includes(disease.parentValue))" :label="disease.title" :name="disease.submitName">
        <a-input  v-model:value="disease.defaltValue"  @change="changeinput($event,disease.submitName)" allow-clear  />
      </a-form-item>
      <a-form-item v-if="disease.useType=='radio'&&disease.rootName=='root'&&(disease.parentName == null ||form1[disease.parentName]==disease.parentValue)" :label="disease.title" :name="disease.submitName">
        <a-radio-group v-model:value="disease.defaltValue">
          <a-radio
              v-for="dict in disease.dictList"
              :key="dict.dictCode"
              :value="dict.dictCode"
              @change="changeRadio($event,disease.submitName)"
          >
            {{ dict.dictName }}
          </a-radio>
        </a-radio-group>
      </a-form-item>
      <a-form-item v-if="disease.useType=='date'&&disease.rootName=='root'&&(disease.parentName == null ||form1[disease.parentName]==disease.parentValue)" :label="disease.title" :name="disease.submitName">
        <a-date-picker  v-model:value="disease.defaltValue"
                        :format="disease.rule"
                        :valueFormat="disease.rule"
                        @change="dateInput($event,disease.submitName)"
                        :show-time="disease.rule.length>10 "
                        style="width: 100%;"
        />
      </a-form-item>
      <a-form-item v-if="disease.useType=='checkbox'&&disease.rootName=='root'
            &&(disease.parentName == null ||form1[disease.parentName]!=null&&form1[disease.parentName].includes(disease.parentValue))" :label="disease.title" :name="disease.submitName">
        <a-checkbox-group v-model:value="disease.defaultValue"   @change="checkSave($event,disease.submitName)"  >
          <a-checkbox :value="dict.dictCode" :name="disease.submitName"
                      v-for="dict in disease.dictList"
                      :key="dict.dictCode">{{
              dict.dictName
            }}</a-checkbox>
        </a-checkbox-group>
      </a-form-item>

      <div v-for="code in ['TIA-5-5-1','TIA-5-4-1']">

        <a-col span="24" v-if="form1[code]=='y'">
          <a-form-item v-if="disease.useType=='select'&&disease.rootName==code&&(disease.parentName == null ||form1[disease.parentName]==disease.parentValue)" :label="disease.title" :name="disease.submitName">
            <a-select
                v-model:value="disease.defaltValue"
                placeholder="请选择属性类型" allow-clear
                @change="changeSelect($event,disease.submitName)"

            >
              <a-select-option
                  v-for="dict in disease.dictList"
                  :key="dict.dictCode"
                  :value="dict.dictCode"

              >
                {{ dict.dictName }}
              </a-select-option>
            </a-select>

          </a-form-item>
          <a-form-item v-if="disease.useType=='radio'&&disease.rootName==code&&(disease.parentName == null ||form1[disease.parentName]==disease.parentValue)" :label="disease.title" :name="disease.submitName">
            <a-radio-group v-model:value="disease.defaltValue">
              <a-radio
                  v-for="dict in disease.dictList"
                  :key="dict.dictCode"
                  :value="dict.dictCode"
                  @change="changeRadio($event,disease.submitName)"
              >
                {{ dict.dictName }}
              </a-radio>
            </a-radio-group>
          </a-form-item>
          <a-form-item v-if="disease.useType=='checkbox'&&disease.rootName==code
            &&(disease.parentName == null ||form1[disease.parentName]!=null&&form1[disease.parentName].includes(disease.parentValue))" :label="disease.title" :name="disease.submitName">
            <a-checkbox-group v-model:value="disease.defaultValue"   @change="checkSave($event,disease.submitName)"  >
              <a-checkbox :value="dict.dictCode" :name="disease.submitName"
                          v-for="dict in disease.dictList"
                          :key="dict.dictCode">{{
                  dict.dictName
                }}</a-checkbox>
            </a-checkbox-group>
          </a-form-item>
          <a-form-item v-if="disease.useType=='number'&&disease.rootName==code&&(disease.parentName == null ||form1[disease.parentName]!=null&&form1[disease.parentName].includes(disease.parentValue))" :label="disease.title" :name="disease.submitName">
            <a-input-number  v-model:value="disease.defaltValue"  @change="numberInput($event,disease.submitName)"  allow-clear  style="width: 100%;"/>
          </a-form-item>
          <a-form-item v-if="disease.useType=='input'&&disease.rootName==code&&(disease.parentName == null ||form1[disease.parentName]!=null&&form1[disease.parentName].includes(disease.parentValue))" :label="disease.title" :name="disease.submitName">
            <a-input  v-model:value="disease.defaltValue"  @change="changeinput($event,disease.submitName)" allow-clear  />
          </a-form-item>
          <a-form-item v-if="disease.useType=='date'&&disease.rootName==code&&(disease.parentName == null ||form1[disease.parentName]==disease.parentValue)" :label="disease.title" :name="disease.submitName">
            <a-date-picker  v-model:value="disease.defaltValue"
                            :format="disease.rule"
                            :valueFormat="disease.rule"
                            @change="dateInput($event,disease.submitName)"
                            :show-time="disease.rule.length>10 "
                            style="width: 100%;"
            />
          </a-form-item>

        </a-col>
      </div>
    </a-col>
  </a-col>


  <a-col :span="24"> <div class="card-title">{{diseaseCode}}-6 选择使用呼吸支持治疗情况
    </div>  </a-col>
    <a-col :span="24" v-for="disease in main6List">
      <div  v-if="disease.submitName=='TIA-6-1-1'" class="card-page">入院时重点护理评估有记录：</div>
      <div  v-if="disease.submitName=='TIA-6-2-1'" class="card-page">实施卒中健康教育有记录：</div>
      <div  v-if="disease.submitName=='TIA-6-3-1'" class="card-page">实施戒烟建议/戒烟治疗有记录：</div>
      <a-form-item v-if="disease.useType=='select'&&disease.rootName=='root'&&(disease.parentName == null ||form1[disease.parentName]==disease.parentValue)" :label="disease.title" :name="disease.submitName">
        <a-select
            v-model:value="disease.defaltValue"
            placeholder="请选择属性类型" allow-clear
            @change="changeSelect($event,disease.submitName)"

        >
          <a-select-option
              v-for="dict in disease.dictList"
              :key="dict.dictCode"
              :value="dict.dictCode"

          >
            {{ dict.dictName }}
          </a-select-option>
        </a-select>

      </a-form-item>
      <a-form-item v-if="disease.useType=='input'&&disease.rootName=='root'&&(disease.parentName == null ||form1[disease.parentName]!=null&&form1[disease.parentName].includes(disease.parentValue))" :label="disease.title" :name="disease.submitName">
        <a-input  v-model:value="disease.defaltValue"  @change="changeinput($event,disease.submitName)" allow-clear  />
      </a-form-item>
      <a-form-item v-if="disease.useType=='radio'&&disease.rootName=='root'&&(disease.parentName == null ||form1[disease.parentName]==disease.parentValue)" :label="disease.title" :name="disease.submitName">
        <a-radio-group v-model:value="disease.defaltValue">
          <a-radio
              v-for="dict in disease.dictList"
              :key="dict.dictCode"
              :value="dict.dictCode"
              @change="changeRadio($event,disease.submitName)"
          >
            {{ dict.dictName }}
          </a-radio>
        </a-radio-group>
      </a-form-item>
      <a-form-item v-if="disease.useType=='date'&&disease.rootName=='root'&&(disease.parentName == null ||form1[disease.parentName]==disease.parentValue)" :label="disease.title" :name="disease.submitName">
        <a-date-picker  v-model:value="disease.defaltValue"
                        :format="disease.rule"
                        :valueFormat="disease.rule"
                        @change="dateInput($event,disease.submitName)"
                        :show-time="disease.rule.length>10 "
                        style="width: 100%;"
        />
      </a-form-item>
      <a-form-item v-if="disease.useType=='checkbox'&&disease.rootName=='root'
            &&(disease.parentName == null ||form1[disease.parentName]!=null&&form1[disease.parentName].includes(disease.parentValue))" :label="disease.title" :name="disease.submitName">
        <a-checkbox-group v-model:value="disease.defaultValue"   @change="checkSave($event,disease.submitName)"  >
          <a-checkbox :value="dict.dictCode" :name="disease.submitName"
                      v-for="dict in disease.dictList"
                      :key="dict.dictCode">{{
              dict.dictName
            }}</a-checkbox>
        </a-checkbox-group>
      </a-form-item>

      <div v-for="code in []">
        <div  v-if="disease.submitName=='Cap-Adult-7-2-1-1'&&disease.rootName==code&&form1['Cap-Adult-7-5-5']!=null&&form1['Cap-Adult-7-5-5'].includes('a')" class="card-page">无创正压通气（NIV）：</div>
        <div  v-if="disease.submitName=='Cap-Adult-7-3-1'&&disease.rootName==code&&form1['Cap-Adult-7-5-5']!=null&&form1['Cap-Adult-7-5-5'].includes('b')" class="card-page">有创机械通气：</div>
        <div  v-if="disease.submitName=='Cap-Adult-7-4-1'&&disease.rootName==code&&form1['Cap-Adult-7-5-5']!=null&&form1['Cap-Adult-7-5-5'].includes('c')" class="card-page">体外膜肺氧合ECMO：</div>
        <a-col span="24" v-if=" form1[code]=='y'">
          <a-form-item v-if="disease.useType=='select'&&disease.rootName==code&&
        ((disease.parentName == null ||form1[disease.parentName]==disease.parentValue)
        ||(form1[disease.parentName]!=null&&form1[disease.parentName].includes(disease.parentValue)))" :label="disease.title" :name="disease.submitName">
            <a-select
                v-model:value="disease.defaltValue"
                placeholder="请选择属性类型" allow-clear
                @change="changeSelect($event,disease.submitName)"
            >
              <a-select-option
                  v-for="dict in disease.dictList"
                  :key="dict.dictCode"
                  :value="dict.dictCode"

              >
                {{ dict.dictName }}
              </a-select-option>
            </a-select>

          </a-form-item>
          <a-form-item v-if="disease.useType=='radio'&&disease.rootName==code&&
          ((disease.parentName == null ||form1[disease.parentName]==disease.parentValue)||
          (form1[disease.parentName]!=null&&form1[disease.parentName].includes(disease.parentValue)))" :label="disease.title" :name="disease.submitName">
            <a-radio-group v-model:value="disease.defaltValue">
              <a-radio
                  v-for="dict in disease.dictList"
                  :key="dict.dictCode"
                  :value="dict.dictCode"
                  @change="changeRadio($event,disease.submitName)"
              >
                {{ dict.dictName }}
              </a-radio>
            </a-radio-group>
          </a-form-item>
          <a-form-item v-if="disease.useType=='checkbox'&&disease.rootName==code
            &&(disease.parentName == null ||form1[disease.parentName]!=null&&form1[disease.parentName].includes(disease.parentValue))" :label="disease.title" :name="disease.submitName">
            <a-checkbox-group v-model:value="disease.defaultValue"   @change="checkSave($event,disease.submitName)"  >
              <a-checkbox :value="dict.dictCode" :name="disease.submitName"
                          v-for="dict in disease.dictList"
                          :key="dict.dictCode">{{
                  dict.dictName
                }}</a-checkbox>
            </a-checkbox-group>
          </a-form-item>
          <a-form-item v-if="disease.useType=='number'&&disease.rootName==code&&(disease.parentName == null ||form1[disease.parentName]!=null&&form1[disease.parentName].includes(disease.parentValue))" :label="disease.title" :name="disease.submitName">
            <a-input-number  v-model:value="disease.defaltValue"  @change="numberInput($event,disease.submitName)"  allow-clear  style="width: 100%;"/>
          </a-form-item>
          <a-form-item v-if="disease.useType=='date'&&disease.rootName==code&&(disease.parentName == null ||form1[disease.parentName]==disease.parentValue)" :label="disease.title" :name="disease.submitName">
            <a-date-picker  v-model:value="disease.defaltValue"
                            :format="disease.rule"
                            :valueFormat="disease.rule"
                            @change="dateInput($event,disease.submitName)"
                            :show-time="disease.rule.length>10 "
                            style="width: 100%;"
            />
          </a-form-item>
          <a-form-item v-if="disease.useType=='input'&&disease.rootName==code&&(disease.parentName == null ||form1[disease.parentName]!=null&&form1[disease.parentName].includes(disease.parentValue))" :label="disease.title" :name="disease.submitName">
            <a-input  v-model:value="disease.defaltValue"  @change="changeinput($event,disease.submitName)" allow-clear  />
          </a-form-item>
        </a-col>
      </div>

    </a-col>
  <a-col :span="24"> <div class="card-title">{{diseaseCode}}-7 血管评价情况
  </div>  </a-col>
  <a-col :span="24" v-for="disease in main7List">
    <div  v-if="disease.submitName=='TIA-7-1'" class="card-page">住院一周内接受血管功能评价：</div>
    <div  v-if="disease.submitName=='TIA-7-3-1'" class="card-page">其他病因学检查：</div>
    <a-form-item v-if="disease.useType=='select'&&disease.rootName=='root'&&(disease.parentName == null ||form1[disease.parentName]==disease.parentValue)" :label="disease.title" :name="disease.submitName">
      <a-select
          v-model:value="disease.defaltValue"
          placeholder="请选择属性类型" allow-clear
          @change="changeSelect($event,disease.submitName)"

      >
        <a-select-option
            v-for="dict in disease.dictList"
            :key="dict.dictCode"
            :value="dict.dictCode"

        >
          {{ dict.dictName }}
        </a-select-option>
      </a-select>

    </a-form-item>
    <a-form-item v-if="disease.useType=='input'&&disease.rootName=='root'&&(disease.parentName == null ||form1[disease.parentName]!=null&&form1[disease.parentName].includes(disease.parentValue))" :label="disease.title" :name="disease.submitName">
      <a-input  v-model:value="disease.defaltValue"  @change="changeinput($event,disease.submitName)" allow-clear  />
    </a-form-item>
    <a-form-item v-if="disease.useType=='radio'&&disease.rootName=='root'&&(disease.parentName == null ||form1[disease.parentName]==disease.parentValue)" :label="disease.title" :name="disease.submitName">
      <a-radio-group v-model:value="disease.defaltValue">
        <a-radio
            v-for="dict in disease.dictList"
            :key="dict.dictCode"
            :value="dict.dictCode"
            @change="changeRadio($event,disease.submitName)"
        >
          {{ dict.dictName }}
        </a-radio>
      </a-radio-group>
    </a-form-item>
    <a-form-item v-if="disease.useType=='date'&&disease.rootName=='root'&&(disease.parentName == null ||form1[disease.parentName]==disease.parentValue)" :label="disease.title" :name="disease.submitName">
      <a-date-picker  v-model:value="disease.defaltValue"
                      :format="disease.rule"
                      :valueFormat="disease.rule"
                      @change="dateInput($event,disease.submitName)"
                      :show-time="disease.rule.length>10 "
                      style="width: 100%;"
      />
    </a-form-item>
    <a-form-item v-if="disease.useType=='checkbox'&&disease.rootName=='root'
            &&(disease.parentName == null ||form1[disease.parentName]!=null&&form1[disease.parentName].includes(disease.parentValue))" :label="disease.title" :name="disease.submitName">
      <a-checkbox-group v-model:value="disease.defaultValue"   @change="checkSave($event,disease.submitName)"  >
        <a-checkbox :value="dict.dictCode" :name="disease.submitName"
                    v-for="dict in disease.dictList"
                    :key="dict.dictCode">{{
            dict.dictName
          }}</a-checkbox>
      </a-checkbox-group>
    </a-form-item>

    <div v-for="code in []">
      <div  v-if="disease.submitName=='Cap-Adult-7-2-1-1'&&disease.rootName==code&&form1['Cap-Adult-7-5-5']!=null&&form1['Cap-Adult-7-5-5'].includes('a')" class="card-page">无创正压通气（NIV）：</div>
      <div  v-if="disease.submitName=='Cap-Adult-7-3-1'&&disease.rootName==code&&form1['Cap-Adult-7-5-5']!=null&&form1['Cap-Adult-7-5-5'].includes('b')" class="card-page">有创机械通气：</div>
      <div  v-if="disease.submitName=='Cap-Adult-7-4-1'&&disease.rootName==code&&form1['Cap-Adult-7-5-5']!=null&&form1['Cap-Adult-7-5-5'].includes('c')" class="card-page">体外膜肺氧合ECMO：</div>
      <a-col span="24" v-if=" form1[code]=='y'">
        <a-form-item v-if="disease.useType=='select'&&disease.rootName==code&&
        ((disease.parentName == null ||form1[disease.parentName]==disease.parentValue)
        ||(form1[disease.parentName]!=null&&form1[disease.parentName].includes(disease.parentValue)))" :label="disease.title" :name="disease.submitName">
          <a-select
              v-model:value="disease.defaltValue"
              placeholder="请选择属性类型" allow-clear
              @change="changeSelect($event,disease.submitName)"
          >
            <a-select-option
                v-for="dict in disease.dictList"
                :key="dict.dictCode"
                :value="dict.dictCode"

            >
              {{ dict.dictName }}
            </a-select-option>
          </a-select>

        </a-form-item>
        <a-form-item v-if="disease.useType=='radio'&&disease.rootName==code&&
          ((disease.parentName == null ||form1[disease.parentName]==disease.parentValue)||
          (form1[disease.parentName]!=null&&form1[disease.parentName].includes(disease.parentValue)))" :label="disease.title" :name="disease.submitName">
          <a-radio-group v-model:value="disease.defaltValue">
            <a-radio
                v-for="dict in disease.dictList"
                :key="dict.dictCode"
                :value="dict.dictCode"
                @change="changeRadio($event,disease.submitName)"
            >
              {{ dict.dictName }}
            </a-radio>
          </a-radio-group>
        </a-form-item>
        <a-form-item v-if="disease.useType=='checkbox'&&disease.rootName==code
            &&(disease.parentName == null ||form1[disease.parentName]!=null&&form1[disease.parentName].includes(disease.parentValue))" :label="disease.title" :name="disease.submitName">
          <a-checkbox-group v-model:value="disease.defaultValue"   @change="checkSave($event,disease.submitName)"  >
            <a-checkbox :value="dict.dictCode" :name="disease.submitName"
                        v-for="dict in disease.dictList"
                        :key="dict.dictCode">{{
                dict.dictName
              }}</a-checkbox>
          </a-checkbox-group>
        </a-form-item>
        <a-form-item v-if="disease.useType=='number'&&disease.rootName==code&&(disease.parentName == null ||form1[disease.parentName]!=null&&form1[disease.parentName].includes(disease.parentValue))" :label="disease.title" :name="disease.submitName">
          <a-input-number  v-model:value="disease.defaltValue"  @change="numberInput($event,disease.submitName)"  allow-clear  style="width: 100%;"/>
        </a-form-item>
        <a-form-item v-if="disease.useType=='date'&&disease.rootName==code&&(disease.parentName == null ||form1[disease.parentName]==disease.parentValue)" :label="disease.title" :name="disease.submitName">
          <a-date-picker  v-model:value="disease.defaltValue"
                          :format="disease.rule"
                          :valueFormat="disease.rule"
                          @change="dateInput($event,disease.submitName)"
                          :show-time="disease.rule.length>10 "
                          style="width: 100%;"
          />
        </a-form-item>
        <a-form-item v-if="disease.useType=='input'&&disease.rootName==code&&(disease.parentName == null ||form1[disease.parentName]!=null&&form1[disease.parentName].includes(disease.parentValue))" :label="disease.title" :name="disease.submitName">
          <a-input  v-model:value="disease.defaltValue"  @change="changeinput($event,disease.submitName)" allow-clear  />
        </a-form-item>
      </a-col>
    </div>

  </a-col>


  <a-col :span="24">
    <div class="card-title">{{diseaseCode}}-8 住院期间为患者提供出院时风险评估与教育告知五要素情况</div>
  </a-col>
  <a-col :span="24" v-for="disease in main8List">
    <div  v-if="disease.submitName=='TIA-9-1-1'" class="card-page">出院时Essen卒中风险评分：</div>

    <a-form-item v-if="disease.useType=='select'&&disease.rootName=='root'&&(disease.parentName == null ||form1[disease.parentName]==disease.parentValue)" :label="disease.title" :name="disease.submitName">
      <a-select
          v-model:value="disease.defaltValue"
          placeholder="请选择属性类型" allow-clear
          @change="changeSelect($event,disease.submitName)"

      >
        <a-select-option
            v-for="dict in disease.dictList"
            :key="dict.dictCode"
            :value="dict.dictCode"

        >
          {{ dict.dictName }}
        </a-select-option>
      </a-select>

    </a-form-item>
    <a-form-item v-if="disease.useType=='input'&&disease.rootName=='root'&&
    (disease.parentName == null ||(form1[disease.parentName]!=null&&form1[disease.parentName].includes(disease.parentValue))||form1[disease.parentName]==disease.parentValue)" :label="disease.title" :name="disease.submitName">
      <a-input  v-model:value="disease.defaltValue"  @change="changeinput($event,disease.submitName)" allow-clear  />
    </a-form-item>
    <a-form-item v-if="disease.useType=='radio'&&disease.rootName=='root'&&(disease.parentName == null ||form1[disease.parentName]==disease.parentValue)" :label="disease.title" :name="disease.submitName">
      <a-radio-group v-model:value="disease.defaltValue">
        <a-radio
            v-for="dict in disease.dictList"
            :key="dict.dictCode"
            :value="dict.dictCode"
            @change="changeRadio($event,disease.submitName)"
        >
          {{ dict.dictName }}
        </a-radio>
      </a-radio-group>
    </a-form-item>
    <a-form-item v-if="disease.useType=='date'&&disease.rootName=='root'&&(disease.parentName == null ||form1[disease.parentName]==disease.parentValue)" :label="disease.title" :name="disease.submitName">
      <a-date-picker  v-model:value="disease.defaltValue"
                      :format="disease.rule"
                      :valueFormat="disease.rule"
                      @change="dateInput($event,disease.submitName)"
                      :show-time="disease.rule.length>10 "
                      style="width: 100%;"
      />
    </a-form-item>
    <a-form-item v-if="disease.useType=='checkbox'&&disease.rootName=='root'
            &&(disease.parentName == null ||form1[disease.parentName]!=null&&form1[disease.parentName].includes(disease.parentValue))" :label="disease.title" :name="disease.submitName">
      <a-checkbox-group v-model:value="disease.defaultValue"   @change="checkSave($event,disease.submitName)"  >
        <a-checkbox :value="dict.dictCode" :name="disease.submitName"
                    v-for="dict in disease.dictList"
                    :key="dict.dictCode">{{
            dict.dictName
          }}</a-checkbox>
      </a-checkbox-group>
    </a-form-item>
    <a-form-item v-if="disease.useType=='number'&&disease.rootName=='root'&&(disease.parentName == null ||form1[disease.parentName]!=null&&form1[disease.parentName].includes(disease.parentValue))" :label="disease.title" :name="disease.submitName">
      <a-input-number  v-model:value="disease.defaltValue"  @change="numberInput($event,disease.submitName)"  allow-clear  style="width: 100%;"/>
    </a-form-item>

    <div v-for="code in []">
      <a-col span="24" v-if=" form1[code]=='y'">
        <a-form-item v-if="disease.useType=='select'&&disease.rootName==code&&
        ((disease.parentName == null ||form1[disease.parentName]==disease.parentValue)
        ||(form1[disease.parentName]!=null&&form1[disease.parentName].includes(disease.parentValue)))" :label="disease.title" :name="disease.submitName">
          <a-select
              v-model:value="disease.defaltValue"
              placeholder="请选择属性类型" allow-clear
              @change="changeSelect($event,disease.submitName)"
          >
            <a-select-option
                v-for="dict in disease.dictList"
                :key="dict.dictCode"
                :value="dict.dictCode"

            >
              {{ dict.dictName }}
            </a-select-option>
          </a-select>

        </a-form-item>
        <a-form-item v-if="disease.useType=='radio'&&disease.rootName==code&&
          ((disease.parentName == null ||form1[disease.parentName]==disease.parentValue)||
          (form1[disease.parentName]!=null&&form1[disease.parentName].includes(disease.parentValue)))" :label="disease.title" :name="disease.submitName">
          <a-radio-group v-model:value="disease.defaltValue">
            <a-radio
                v-for="dict in disease.dictList"
                :key="dict.dictCode"
                :value="dict.dictCode"
                @change="changeRadio($event,disease.submitName)"
            >
              {{ dict.dictName }}
            </a-radio>
          </a-radio-group>
        </a-form-item>
        <a-form-item v-if="disease.useType=='checkbox'&&disease.rootName==code
            &&(disease.parentName == null ||form1[disease.parentName]!=null&&form1[disease.parentName].includes(disease.parentValue))" :label="disease.title" :name="disease.submitName">
          <a-checkbox-group v-model:value="disease.defaultValue"   @change="checkSave($event,disease.submitName)"  >
            <a-checkbox :value="dict.dictCode" :name="disease.submitName"
                        v-for="dict in disease.dictList"
                        :key="dict.dictCode">{{
                dict.dictName
              }}</a-checkbox>
          </a-checkbox-group>
        </a-form-item>
        <a-form-item v-if="disease.useType=='number'&&disease.rootName==code&&(disease.parentName == null ||form1[disease.parentName]!=null&&form1[disease.parentName].includes(disease.parentValue))" :label="disease.title" :name="disease.submitName">
          <a-input-number  v-model:value="disease.defaltValue"  @change="numberInput($event,disease.submitName)"  allow-clear  style="width: 100%;"/>
        </a-form-item>
        <a-form-item v-if="disease.useType=='date'&&disease.rootName==code&&(disease.parentName == null ||form1[disease.parentName]==disease.parentValue)" :label="disease.title" :name="disease.submitName">
          <a-date-picker  v-model:value="disease.defaltValue"
                          :format="disease.rule"
                          :valueFormat="disease.rule"
                          @change="dateInput($event,disease.submitName)"
                          :show-time="disease.rule.length>10 "
                          style="width: 100%;"
          />
        </a-form-item>
        <a-form-item v-if="disease.useType=='input'&&disease.rootName==code&&(disease.parentName == null ||form1[disease.parentName]!=null&&form1[disease.parentName].includes(disease.parentValue))" :label="disease.title" :name="disease.submitName">
          <a-input  v-model:value="disease.defaltValue"  @change="changeinput($event,disease.submitName)" allow-clear  />
        </a-form-item>
      </a-col>
    </div>

  </a-col>
  <a-col :span="24">
    <div class="card-page">出院时提供教育告知五要素情况：</div>
  </a-col>
</template>

<script setup name="PatientTiaForm">
import {ref, reactive, onMounted, watch} from 'vue';
import {message} from "ant-design-vue";


const main3List = ref([]);
const main4List = ref([]);
const main5List = ref([]);
const main6List = ref([]);
const main7List = ref([]);
const main2List = ref([]);
const main1List = ref([]);
const main8List = ref([]);
const cm2List = ref([]);
const span23= ref([
  'TIA-1-1-2-1',
  'TIA-1-1-3',
  'TIA-1-1-4',
  'TIA-1-1-4-1-0',
  'TIA-1-1-4-1-1',
  'TIA-1-1-4-2-1',
  'TIA-1-1-4-3-1',
  'TIA-1-1-4-5',
  'TIA-1-2-1-1',
  'TIA-1-2-1-2',
  'TIA-1-2-1-4',
  'TIA-1-2-1-3-1',
  'TIA-1-2-2-1',
  'TIA-1-2-2-2-1',
  'TIA-1-2-3-1',
  'TIA-1-2-3-2-1',
  'TIA-1-2-3-3-1',
  'TIA-1-2-4-1',
  'TIA-1-2-4-2-1',
  'TIA-1-2-4-3-1',
  'TIA-1-2-5-1',
  'TIA-1-2-5-2-1',
  'TIA-1-2-5-3',
  'TIA-1-2-5-4',
  'TIA-1-2-6-1',
  'TIA-1-2-6-3',
  'TIA-1-2-6-3-1',
  'TIA-1-2-6-5',
  'TIA-1-2-6-5-1',
  'TIA-1-2-6-2-1',
  'TIA-1-2-6-4',
  'TIA-1-2-6-4-1',
    'TIA-2-1-1-1',
    'TIA-2-3-1',
    'TIA-2-3-2',
    'TIA-2-4-1',
  'TIA-4-1-1',
  'TIA-4-1-2-1',
  'TIA-4-2-1',
  'TIA-4-3',
  'TIA-4-4-0',
]);
let rsm =  ref({
  "CS-1-1-1": false,
  "CS-1-2-5": false,
  "CM-1-1-1": false,
  "CS-5-1": false,
  "CS-5-3": false,
});
const props = defineProps({
// 表单数据
  diseaseList: Object,
  form1: Object,
  diseaseCode:String,
});
onMounted(async() => {
  console.log(JSON.stringify(props))
});
watch(
    () => props.diseaseList,
() => {
  console.log("---------------------=================================")
    for(let i = 0; i < props.diseaseList.length; i ++) {
     if(props.diseaseList[i].diseaseGroup==props.diseaseCode+"-2"){
        main2List.value.push(props.diseaseList[i])
      }else if(props.diseaseList[i].diseaseGroup==props.diseaseCode+"-1"){
        main1List.value.push(props.diseaseList[i])
      } else if(props.diseaseList[i].diseaseGroup==props.diseaseCode+"-3"){
        main3List.value.push(props.diseaseList[i])
      }else if(props.diseaseList[i].diseaseGroup==props.diseaseCode+"-4"){
        main4List.value.push(props.diseaseList[i])
      }else if(props.diseaseList[i].diseaseGroup==props.diseaseCode+"-5"){
       main5List.value.push(props.diseaseList[i])
     } else if(props.diseaseList[i].diseaseGroup==props.diseaseCode+"-6"){
       main6List.value.push(props.diseaseList[i])
     }else if(props.diseaseList[i].diseaseGroup==props.diseaseCode+"-7"){
       main7List.value.push(props.diseaseList[i])
     }else if(props.diseaseList[i].diseaseGroup==props.diseaseCode+"-8"){
       main8List.value.push(props.diseaseList[i])
     }
     else if(props.diseaseList[i].diseaseGroup=="CM-2"){
       cm2List.value.push(props.diseaseList[i])
     }
    }

}
);

const changeinput =  (el,data) => {
  props.form1[data] = el.target.value
}
const changeRadio =  (el,data) => {
  props.form1[data] = el.target.value
  let cols = []
  for(let i = 0; i < props.diseaseList.length; i ++) {
    if(data == props.diseaseList[i].parentName && props.diseaseList[i].parentVale != el.target.value){
      props.diseaseList[i].defaltValue = null
      props.diseaseList[i].defaultValue = null
      props.form1[props.diseaseList[i].submitName] = null
      cols.push(props.diseaseList[i].submitName)
    }
    if(cols.includes(props.diseaseList[i].parentName)){
      props.diseaseList[i].defaltValue = null
      props.diseaseList[i].defaultValue = null
      props.form1[props.diseaseList[i].submitName] = null
      cols.push(props.diseaseList[i].submitName)
    }
    if(props.diseaseList[i].submitName == data){
      if(data == 'Cap-Adult-1-3-1' && el.target.value =='n'){
        message.error('该病例不符合上报要求')
      }

    }

  }
}
const checkSave=  (el,data) => {
  props.form1[data] = el
  console.log(el)
  if(el.length>1 && el.includes("UTD")){
    for(let i = 0; i < props.diseaseList.length; i ++) {
      if(props.diseaseList[i].submitName == data){
        props.diseaseList[i].defaultValue=["UTD"]
        props.form1[data] = ["UTD"]
      }
    }
    message.error("填报内容不符合规范，请重新填报");
  }
}


const changeSelect =  (value,data) => {
  if (typeof value === "undefined"){
    props.form1[data] = null
  }else {
    props.form1[data] = value
  }
}
const numberInput =  (el,data) => {
  props.form1[data] = el
}
const dateInput =  (el,data) => {
  props.form1[data] = el
}

</script>

<style scoped lang="less">
.card-title {
  width: 100%;
  border-left: 5px solid;
  border-color: var(--primary-color);
  color: var(--primary-color);
  font-size: large;
  font-weight: bold;
  padding-left: 2px;
  margin-bottom: 2px;
}
.card-page {
  width: 100%;
  font-weight: bold;
  color: #092b00;
  padding-left: 2px;
  margin-bottom: 2px;
}
.ant-form-item{
  border-bottom:1px solid var(--primary-color);
}
.line {
border-top: 1px solid #b2f1e8; /* 设置横线的样式，比如颜色和宽度 */
margin: 1px 0; /* 设置横线的上下外边距 */
padding-left: -100px!important;
}
</style>
